package com.example.dao;

import com.example.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher findByTeacherId(@Param("teacherId") String teacherId);
    
    List<Teacher> findAll();
    
    List<Teacher> findByClass(@Param("managedClass") String managedClass);
    
    int insert(Teacher teacher);
    
    int update(Teacher teacher);
    
    int delete(@Param("teacherId") String teacherId);
} 